const express = require('express');
const router = express.Router();
const { list } = require('../controller/index');


// router.get('/', function (req, res, next) {
//     res.send('hello world');
// });

// router.post('/index', function (req, res, next) {
//     console.log('req', req.body);
//     res.send('index pages');
// });

router.get('/api/list', list);

module.exports = router;

